package com.ks.service;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ks.base.BaseService;
import com.ks.dao.RoleDao;

@Service("roleService")
public class RoleService<T> extends BaseService<T> {
    private final static Logger log = Logger.getLogger(RoleService.class);

    @Autowired
    private RoleDao<T> dao;

    public RoleDao<T> getDao() {
        return dao;
    }

    public List<T> queryListByUserId(Object o) {
        return dao.queryListByUserId(o);
    }

}
